<html>
<head>
<title>Destroy</title>
<link rel="stylesheet" href="../../../../../../Styles/Default.css" type="text/css">
</head>

<body bgcolor="#FFFFFF">
<p class="Decl"><b>destructor</b> Destroy; <b>override</b>;</p>
<h2>Description</h2>
<p class="Body">Removes the layer from its layer collection, destroys the layer instance, 
  and frees all allocated memory.</p>
<p class="Body">Do not call <span class="EmptyRef">Destroy</span> directly. Instead, use the 
  <span class="API">Free</span> method which verifies that the layer reference is assigned and only than calls <span class="EmptyRef">Destroy</span>.</p>
<p id="hidden">[See also]: <a href="../../../../../Additional%20Topics/Using%20TImage32/Using%20Layers.htm">Using 
  Layers</a>, <a href="../Properties/LayerCollection.htm">LayerCollection</a></p>
</body>
</html>
